<?php

namespace App\Models\Finance;

use App\Models\BaseModel;

class Management extends BaseModel
{
    public $table = 'sp_management';
    public $timestamps = false;

    public function type()
    {
        return $this->hasMany('App\Models\Finance\ManagementType', 'pid', 'id');
    }

    public function income()
    {
        return $this->hasMany('App\Models\Finance\Income', 'platform_id', 'id');
    }
}
